﻿<%@ Page Title="Edit Bill" Language="C#" MasterPageFile="~/Admin/Admin.master" AutoEventWireup="true" CodeFile="EditBill.aspx.cs" Inherits="Admin_EditBill" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">

    <asp:Label ID="lblId" runat="server" Visible="false" />
    <asp:Label ID="lblTitle" runat="server" CssClass="title" />
    <!-- Cac nut -->
    <div class="toolbar">
        <asp:Button Text="Pay this Bill" runat="server" ID="btnPay"  />
        <asp:Button Text="Delete selected" runat="server" ID="btnDelete" CssClass="multidelete" />
    </div>
    <!-- Danh sach -->
    <table class="list">
        <tr>
            <th class="cid">
                <input type="checkbox" id="chkAll" />
            </th>
            <th class="link">
                Product
            </th>
            <th class="id">
                Price
            </th>
            <th class="id" style = "width:230px">
                Date added
            </th>
        </tr>
        <asp:Repeater runat="server" ID="repBill">
            <AlternatingItemTemplate>
                <tr class="even">
                    <td>
                        <input type="checkbox" value='<%#Eval("MaHH") %>' name="cid" id="cid" />
                    </td>
                    <td class="link">
                        <%#Eval("TenHH") %></a>
                    </td>
                    <td class="id">
                        <%#Eval("Price") %></a>
                    </td>
                    <td class="id" style = "width:230px">
                        <%#Eval("Date")%>
                    </td>
                </tr>
            </AlternatingItemTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <input type="checkbox" value='<%#Eval("MaHH") %>' name="cid" id="cid" />
                    </td>
                     <td class="link">
                        <%#Eval("TenHH") %></a>
                    </td>
                    <td class="id">
                        <%#Eval("Price") %></a>
                    </td>
                    <td class="id" style = "width:230px">
                        <%#Eval("Date")%>
                    </td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
    </table>

    <div class="total">
                <asp:Label ID="Label1" Text="Sum: " runat="server" />
                <asp:Label ID="lblTotal" Text="" runat="server" EnableViewState="false" CssClass="cartTotal" />
            </div>
</asp:Content>

